
class Building {
    String buildId;
    String buildName;

    Building({this.buildId, this.buildName});

    factory Building.fromJson(Map<String, dynamic> json) {
        return Building(
            buildId: json['buildId'], 
            buildName: json['buildName'], 
        );
    }

    Map<String, dynamic> toJson() {
        final Map<String, dynamic> data = new Map<String, dynamic>();
        data['buildId'] = this.buildId;
        data['buildName'] = this.buildName;
        return data;
    }
}